Skip to content

feat: tanstack router integration#7397

Open
yf-hk wants to merge 5 commits intorefinedev:mainfrom
yf-hk:main
Open

feat: tanstack router integration#7397
yf-hk wants to merge 5 commits intorefinedev:mainfrom
yf-hk:main

Conversation

@yf-hk
Copy link
Copy Markdown
Contributor

@yf-hk yf-hk commented Apr 14, 2026

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

What is the current behavior?

Refine does not provide an official TanStack Router integration package.
There is no dedicated TanStack Router integration page, and the routing guide/examples do not cover TanStack Router.

What is the new behavior?

This PR adds an initial @refinedev/tanstack-router package with Refine router-provider support for TanStack Router.

It includes:

  • a new TanStack Router integration package
  • route-aware helpers such as NavigateToResource, CatchAllNavigate, DocumentTitleHandler, and UnsavedChangesNotifier
  • TanStack Router documentation under the routing integrations docs
  • TanStack Router examples in the routing guide
  • routing tutorial pages for the TanStack Router flow
  • a changeset for publishing @refinedev/tanstack-router

Related: #6919

Notes for reviewers

  • Added packages/tanstack-router modeled on packages/react-router.
  • Added package tests and updated docs to surface the new integration.
  • Added a changeset for @refinedev/tanstack-router.
  • The TanStack Router tutorial pages are included, but they are not wired into the main tutorial selector flow in this PR.
  • I could not run the normal install/test flow in this environment because the local Node/npm/pnpm toolchain was unstable, so pnpm-lock.yaml was patched manually from published package metadata.

@yf-hk yf-hk requested a review from a team as a code owner April 14, 2026 17:12
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 14, 2026

🦋 Changeset detected

Latest commit: 97630d3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@refinedev/tanstack-router Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@BatuhanW BatuhanW changed the title Add TanStack Router integration feat: tanstack router integration Apr 14, 2026
@yf-hk yf-hk force-pushed the main branch 3 times, most recently from 77bfc8c to 4a41644 Compare April 15, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant